﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Persons.Classes;
using Persons.DS;

namespace PersonsWinForm
{
    public partial class FSetConnection : Form
    {
        public FSetConnection()
        {
            InitializeComponent();
        }

        private void FSetConnection_Resize(object sender, EventArgs e)
        {
            this.Width = 280;
            this.Height = 185;
        }

        private void Btn_Save_Click(object sender, EventArgs e)
        {
            ListOfPersons.ds = new DS_NET_CLIENT(MTB_ApiAdress.Text + ":" + MTB_Port.Text);
        }
    }
}
